body {
    max-width: 540px;
    min-width: 320px;
    color: #000;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft";
    margin: 0 auto;
    background: #f4f4f4;
}

a {
    text-decoration: none;
    color: #222;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

div {
    box-sizing: border-box;
}

/* < !-- 搜索模块 --> */
.search-index {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    /* 固定定位的盒子要有宽度 */
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 44px;
    background-color: #F6F6F6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    z-index: 999;
}

.search-left {
    position: relative;
    flex: 1;
    height: 25px;
    margin: 8px 0px 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 12px;
    line-height: 23px;
    padding-left: 26px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);

}

.search-left::before {
    position: absolute;
    top: 4px;
    left: 10px;
    content: "";
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px;

}

.search-user {
    display: inline-block;
    width: 44px;
    height: 44px;
    font-size: 12px;
    text-align: center;
    color: #2eaae0;
}

.search-user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px;
    margin: 2.5px auto 0px;
}

/* 焦点图模块 */
.focus {
    position: relative;
    margin-top: 44px;
    overflow: hidden;
}

.focus ul {
    margin-left: -100%;
    width: 500%;
    overflow: hidden;
}

.focus ul li {
    width: 20%;
    float: left;
}

.focus img {
    width: 100%;
}

/* 小圆点样式 */
.focus ol {
    position: absolute;
    bottom: 5px;
    right: 5px;
    margin: 0;
}

.focus ol li {
    display: inline-block;
    list-style: none;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 2px;
    transition: all .3s;
}

.focus ol .current {
    width: 15px;
}

/* 局部导航栏模块 */
.local-nav {
    height: 64px;
    margin: 3px 4px;
    border-radius: 8px;
    background-color: #fff;
}

.local-nav ul {
    display: flex;
}

.local-nav li {
    flex: 1;
}

.local-nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.local-nav li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    margin-top: 8px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px;
}

.local-nav li .local-nav-icon-icon2 {
    background-position: 0 -32px;
}

.local-nav li .local-nav-icon-icon3 {
    background-position: 0 -64px;
}

.local-nav li .local-nav-icon-icon4 {
    background-position: 0 -96px;
}

.local-nav li .local-nav-icon-icon5 {
    background-position: 0 -128px;
}

/* 主导航栏模块 */
nav {
    border-radius: 8px;
    margin: 0 4px 3px;
    overflow: hidden;
}

.nav-common {
    display: flex;
    height: 88px;
}

.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #FA5A55, #FA994D);
}

.nav-common:nth-child(2) {
    margin: 3px 0;
    background: -webkit-linear-gradient(left, #4890ED, #538CED);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
}

.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 44px;
}

.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}

.nav-items a {
    flex: 1;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}

.nav-items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}

.nav-items:nth-child(1) a {
    border: 0;
}

.nav-common:nth-child(1) .nav-items:nth-child(1) a {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}

.nav-common:nth-child(2) .nav-items:nth-child(1) a {
    position: relative;
}

.nav-common:nth-child(2) .nav-items:nth-child(1) span {
    position: absolute;
    bottom: 10px;
    display: block;
    width: 41px;
    height: 24px;
    margin-left: 50%;
    transform: translate(-50%);
    background: url(../images/sprite.png) no-repeat 0px -295px;
    background-size: 104px auto;
}

.nav-common:nth-child(3) .nav-items:nth-child(1) a {
    position: relative;
}

.nav-common:nth-child(3) .nav-items:nth-child(1) span {
    position: absolute;
    bottom: 6px;
    display: block;
    width: 33px;
    height: 41px;
    margin-left: 50%;
    transform: translate(-50%);
    background: url(../images/sprite.png) no-repeat 0px -181px;
    background-size: 104px auto;
}

/* 侧导航栏模块 */

.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    background-color: #fff;
    margin: 3px 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, .2);

}

.subnav-entry li {
    flex: 20%;
}

.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.subnav-entry li [class^="subnav-entry-icon"] {
    display: block;
    width: 28px;
    height: 28px;
    background: url(../images/subnav-bg.png) no-repeat 0 2px;
    background-size: 28px auto;
    margin-top: 8px;
}

.subnav-entry li:nth-child(n+6) {
    margin-bottom: 6px;
}

.subnav-entry li .subnav-entry-icon-icon2 {
    background-position: 0 -31px;
}

.subnav-entry li .subnav-entry-icon-icon3 {
    background-position: 0 -65px;
}

.subnav-entry li .subnav-entry-icon-icon4 {
    background-position: 0 -101px;
}

.subnav-entry li .subnav-entry-icon-icon5 {
    background-position: 0 -131px;
}

.subnav-entry li .subnav-entry-icon-icon6 {
    background-position: 4px -164px;
}

.subnav-entry li .subnav-entry-icon-icon7 {
    background-position: 0 -199px;
}

.subnav-entry li .subnav-entry-icon-icon8 {
    background-position: 0 -229px;
}

.subnav-entry li .subnav-entry-icon-icon9 {
    background-position: 0 -259px;
}

.subnav-entry li .subnav-entry-icon-icon10 {
    background-position: 3px -288px;
}

/* 销售模块 */
.sales-box {
    border-top: 1px solid #ccc;
    margin: 10px 4px;
    background-color: #fff;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, .2);

}

.sale-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #eee;
}

.sale-hd h2 {
    position: relative;
    text-indent: -999px;
    margin: 0;
}

.sale-hd h2::after {
    content: "";
    position: absolute;
    top: 14.5px;
    left: 10px;
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}

.sale-hd span {
    position: absolute;
    top: 14.5px;
    left: 95px;
    display: block;
    width: 40px;
    height: 15px;
    line-height: 15px;
    border-radius: 4px;
    background: url(../images/sprite.png) no-repeat -33px -112px;
    background-size: 52px auto;
    background-color: #ccc;
}

.sale-hd span p {
    margin: 0;
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 12px;
    color: #FFF;
}

.sale-hd a {
    position: absolute;
    right: 0;
    top: 8px;
    border-radius: 15px;
    font-size: 13px;
    color: #FFF;
    background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
    padding: 3px 20px 3px 10px;
}

.sale-hd a::after {
    position: absolute;
    content: "";
    top: 8px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transform: rotate(45deg);
}

.row {
    display: flex;
}

.row a:nth-child(1) {
    border-right: 1px solid #eee;
}

.row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}

.row a img {
    width: 100%;
}

/* 底部模块 */
footer {
    margin: 10px 0;
    border-top: 1px solid #ccc;
}

.footer-hd {
    display: flex;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, .2);
    border-bottom: 1px solid #ccc;

}

.footer-hd li {
    flex: 1;

}

.footer-hd a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0px 4px 0px;

}

.footer-hd a [class^="footer-icon"] {
    display: block;
    width: 18px;
    height: 18px;
    background: url(../images/sprite.png) no-repeat -59px -154px;
    background-size: 104px auto;
}

.footer-hd a .footer-icon-icon2 {
    background-position: -60px -174px;
}

.footer-hd a .footer-icon-icon3 {
    background-position: -60px -310px;
}

.footer-wd {
    margin-top: 5px;
    text-align: center;
}

.footer-wd a {
    margin: 0 5px;

}

.footer-wd a:nth-child(2)::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    line-height: 6px;
    border-bottom: 1px solid #666;
    border-right: 1px solid #666;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.footer-wd a:nth-child(n+2)::before {
    display: inline-block;
    content: "";
    width: 2px;
    height: 18px;
    background-color: #999;
    /* margin: 5px 5px; */
    margin: 0px 10px 0 0;
    /* 外边距不会影响其他人 */
    vertical-align: middle;
}

.footer-wd p {
    margin: 5px;
    color: #999;
}

/* 返回顶部 */
.goBack {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 25px;
    width: 38px;
    height: 38px;
    background: url(../images/goBack.png) no-repeat;
    background-size: 38px 38px;
}